
#ifndef UI_DIALOGFACTORY_H
#define UI_DIALOGFACTORY_H

#include "wf_dialogfactory.h"


/**
 * This is the LXCAD specific implementation of a widget which can create and
 * show dialogs. Some functions cannot be implemented on the
 * LXCAD library level and need to be implemented here,
 * on the application level.
 */
class UI_DialogFactory: public WF_DialogFactory {
public:
    UI_DialogFactory(QWidget* parent, QToolBar* ow) :
	  WF_DialogFactory(parent, ow) {}
    virtual ~UI_DialogFactory() {}

    virtual void requestEditBlockWindow(PF_BlockList* blockList = NULL);
    virtual void closeEditBlockWindow(PF_Block* block = NULL);
};

#endif
